<template>
    <div>
        <Dialog ref="dialogRef">

        </Dialog>
        <ElButton @click="openDialog(undefined)">add dialog</ElButton>
        <ElButton @click="">edit dialog</ElButton>
    </div>
</template>
<script setup lang='ts'>
import { onMounted, ref } from 'vue';
import Dialog from './bbu_board_status_import_dialog.vue'
    const dialogRef=ref();
    onMounted(()=>{
        // addEditDialogRef.value.openDialog();
    })
    function openDialog(id?:number){
        dialogRef.value.openDialog(id)
    }
    
</script>
<style lang='scss' scoped>
    
</style>